package com.teradata

import javax.servlet.ServletContext
import org.scalatra.LifeCycle
import org.slf4j.LoggerFactory

class ScalatraBootstrap extends LifeCycle{
  private val LOGGER=LoggerFactory.getLogger(this.getClass)

  override def init(context : ServletContext){
    LOGGER.info("Mounting IOP_REAL_PARSE REST context")
    context.mount(new iopParseScalatra,"/iop/*")
  }

}
